package com.teamcenter.rac.massupdate.ui.grid.layers;

import com.teamcenter.rac.massupdate.ui.grid.IGridRow;
import net.sourceforge.nattable.grid.data.DefaultCornerDataProvider;
import net.sourceforge.nattable.grid.layer.CornerLayer;
import net.sourceforge.nattable.layer.AbstractLayerTransform;
import net.sourceforge.nattable.layer.DataLayer;

public class MassUpdateCornerLayerStack<T extends IGridRow> extends AbstractLayerTransform {
	public MassUpdateCornerLayerStack(MassUpdateColumnHeaderLayerStack<T> paramMassUpdateColumnHeaderLayerStack,
			MassUpdateRowHeaderLayerStack<T> paramMassUpdateRowHeaderLayerStack) {
		DefaultCornerDataProvider localDefaultCornerDataProvider = new DefaultCornerDataProvider(
				paramMassUpdateColumnHeaderLayerStack.getDataProvider(),
				paramMassUpdateRowHeaderLayerStack.getDataProvider());
		CornerLayer localCornerLayer = new CornerLayer(new DataLayer(localDefaultCornerDataProvider),
				paramMassUpdateRowHeaderLayerStack, paramMassUpdateColumnHeaderLayerStack);
		setUnderlyingLayer(localCornerLayer);
	}
}
